import numpy as np
# 1.按列顺序创建
x=[1,2,3,4,5]
y=[11,12,13,14,15]
a = np.array([x,y]).T
print(a)
'''
[[ 1 11]
 [ 2 12]
 [ 3 13]
 [ 4 14]
 [ 5 15]]
'''

# 2.列合并
a = np.array(x)
b = np.array(y)
c = np.column_stack((a,b))
print(c)
'''
[[ 1 11]
 [ 2 12]
 [ 3 13]
 [ 4 14]
 [ 5 15]]
'''